package com.mirana.module.common.model.dictpm;

import com.mirana.frame.base.model.BaseModel;
import com.mirana.frame.db.base.anno.ColumnPlus;
import com.mirana.frame.db.base.anno.FKPlus;
import com.mirana.frame.db.base.anno.Notes;
import com.mirana.frame.db.base.anno.TablePlus;
import lombok.Data;

@Data
@Notes("随访附件表")
@TablePlus(name = "dict_customer_visit_attach")
public class DictCustomerVisitAttach extends BaseModel {

    @Notes("随访id，外键")
    @ColumnPlus()
    @FKPlus(tableClass = DictCustomerVisit.class)
    private Long visit_id;

    @Notes("图片名称")
    @ColumnPlus(default_val = "''", length = "20")
    private String filename;

    @Notes("图片地址")
    @ColumnPlus(default_val = "''", length = "100")
    private String filepath;

}
